package chixing.day08.homework;

public class Test2 {
    static{
        System.out.println("test static 1");
    }
    public static void main(String[] args) {
        /*
        * test static 1
        * test static 2
        * static代码块在类加载的时候执行，并且按顺序依次执行
        * */
    }

    static{
        System.out.println("test static 2");
    }

}
